<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>文章标题 - 我的博客</title>
    <!-- CSS文件引入 -->
    <link rel="stylesheet" href="../css/utils/variables.css">
    <link rel="stylesheet" href="../css/utils/responsive.css">
    <link rel="stylesheet" href="../css/components/header.css">
    <link rel="stylesheet" href="../css/components/sidebar.css">
    <link rel="stylesheet" href="../css/components/footer.css">
    <link rel="stylesheet" href="../css/styles.css">
</head>
<body>
    <!-- 头部导航 -->
    <header id="header">
        <div class="container">
            <div class="logo">
                <a href="../index.html">我的博客</a>
            </div>
            <nav class="nav">
                <ul>
                    <li><a href="../index.html">首页</a></li>
                    <li><a href="about.html">关于</a></li>
                    <li><a href="contact.html">联系</a></li>
                </ul>
            </nav>
            <div class="mobile-menu">
                <button id="menu-toggle"><span></span><span></span><span></span></button>
            </div>
        </div>
    </header>

    <!-- 主内容区 -->
    <main class="container">
        <!-- 文章详情 -->
        <section class="content">
            <article class="post-article" id="post-article">
                <!-- 文章头部 -->
                <div class="post-header">
                    <h1 class="post-title">文章标题示例</h1>
                    <div class="post-meta">
                        <span class="post-date">发布于：2024-01-01</span>
                        <span class="post-category">分类：技术分享</span>
                        <span class="post-author">作者：博主</span>
                    </div>
                </div>
                
                <!-- 文章内容 -->
                <div class="post-content">
                    <p>这是文章的内容示例。在实际应用中，这里将显示完整的文章内容。</p>
                    
                    <h2>二级标题</h2>
                    <p>这是二级标题下的内容...</p>
                    
                    <h3>三级标题</h3>
                    <p>这是三级标题下的内容...</p>
                    
                    <p>文章内容可以包含各种格式，如：</p>
                    <ul>
                        <li>无序列表项1</li>
                        <li>无序列表项2</li>
                        <li>无序列表项3</li>
                    </ul>
                    
                    <ol>
                        <li>有序列表项1</li>
                        <li>有序列表项2</li>
                        <li>有序列表项3</li>
                    </ol>
                    
                    <blockquote>
                        这是一段引用内容。
                    </blockquote>
                </div>
                
                <!-- 文章底部 -->
                <div class="post-footer">
                    <div class="post-tags">
                        <span>标签：</span>
                        <a href="#">前端</a>
                        <a href="#">JavaScript</a>
                        <a href="#">CSS</a>
                    </div>
                    
                    <div class="post-share">
                        <span>分享：</span>
                        <a href="#" class="share-btn">微信</a>
                        <a href="#" class="share-btn">微博</a>
                        <a href="#" class="share-btn">QQ</a>
                    </div>
                </div>
                
                <!-- 相关文章 -->
                <div class="related-posts">
                    <h3>相关文章</h3>
                    <div class="related-posts-list" id="related-posts">
                        <!-- 相关文章将通过JavaScript动态加载 -->
                    </div>
                </div>
                
                <!-- 评论区 -->
                <div class="comment-section">
                    <h3>评论区</h3>
                    <div class="comment-form">
                        <form id="comment-form">
                            <div class="form-group">
                                <label for="comment-name">姓名</label>
                                <input type="text" id="comment-name" name="name" required placeholder="请输入您的姓名">
                            </div>
                            
                            <div class="form-group">
                                <label for="comment-email">邮箱</label>
                                <input type="email" id="comment-email" name="email" required placeholder="请输入您的邮箱">
                            </div>
                            
                            <div class="form-group">
                                <label for="comment-content">评论内容</label>
                                <textarea id="comment-content" name="content" rows="4" required placeholder="请输入您的评论"></textarea>
                            </div>
                            
                            <button type="submit" class="submit-btn">提交评论</button>
                        </form>
                    </div>
                    
                    <div class="comments-list" id="comments-list">
                        <!-- 评论将通过JavaScript动态加载 -->
                    </div>
                </div>
            </article>
        </section>

        <!-- 侧边栏 -->
        <aside class="sidebar">
            <!-- 搜索框 -->
            <div class="search-box">
                <input type="text" placeholder="搜索文章..." id="search-input">
                <button id="search-btn">搜索</button>
            </div>

            <!-- 分类 -->
            <div class="category-list">
                <h3>文章分类</h3>
                <ul id="category-list">
                    <!-- 分类将通过JavaScript动态加载 -->
                </ul>
            </div>

            <!-- 热门文章 -->
            <div class="popular-posts">
                <h3>热门文章</h3>
                <ul id="popular-posts">
                    <!-- 热门文章将通过JavaScript动态加载 -->
                </ul>
            </div>
        </aside>
    </main>

    <!-- 页脚 -->
    <footer id="footer">
        <div class="container">
            <div class="footer-content">
                <div class="footer-info">
                    <h3>我的博客</h3>
                    <p>分享技术与生活的点滴</p>
                </div>
                <div class="footer-links">
                    <h4>快速链接</h4>
                    <ul>
                        <li><a href="../index.html">首页</a></li>
                        <li><a href="about.html">关于</a></li>
                        <li><a href="contact.html">联系</a></li>
                    </ul>
                </div>
                <div class="footer-contact">
                    <h4>联系方式</h4>
                    <p>邮箱: contact@example.com</p>
                </div>
            </div>
            <div class="copyright">
                <p>&copy; 2024 我的博客. All rights reserved.</p>
            </div>
        </div>
    </footer>

    <!-- JavaScript文件引入 -->
    <script src="../js/modules/utils.js"></script>
    <script src="../js/modules/api.js"></script>
    <script src="../js/components/header.js"></script>
    <script src="../js/components/sidebar.js"></script>
    <script src="../js/components/footer.js"></script>
    <script src="../js/main.js"></script>
</body>
</html>